Improve fix for macroexp crash with debugging.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Aug 2012 20:55:27 +0000 (13:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Aug 2012 20:55:27 +0000 (13:55 -0700)
commit9edcb650569057807324b110620333a72d982d8d
tree6ca60ce4852a17adfaae887ee65dea2e7b6784d5
parentb97276a4433c796817cef7efb589c7fcb49fb2b3
Improve fix for macroexp crash with debugging.

* lisp.h (ASET) [ENABLE_CHECKING]: Pay attention to
ARRAY_MARK_FLAG when checking subscripts, because ASET is
not supposed to be invoked from the garbage collector.
See Andreas Schwab in <http://bugs.gnu.org/12118#25>.
(gc_aset): New function, which is like ASET but can be
used in the garbage collector.
(set_hash_key, set_hash_value, set_hash_next, set_hash_hash)
(set_hash_index): Use it instead of ASET.
src/ChangeLog
src/lisp.h